The following describes how to use and extend manage commands in the Python Django framework: pythondjango
[Overview]
Django-admin.py is a command line tool for Django to manage tasks. This article describes its general usage.
In addition, there is
Directory
Nginx+uwsgi+django Deploying a Web server
Environment description
Objective
Building projects
Django Deployment
Editluffy/luffy/settings.py
Editluffy/app01/views.py
Operating Environment centos6.5 django1.6 python2.7.8Python-c "Import Django;print djang.get_version ()" or Django. VERSION
To create a Django project:django-admin.py Startproject MySiteThe directory structure is as follows:mysite/# #
Deploy Django applications using mod_wsgi
Django is a free, open-source, Python-based Web development framework. The Django framework follows the MVC Architecture Pattern to quickly create Web applications. Currently, the Django framework has become
Django is best suited to the so-called green-field development, that is, a project from the ground up, just as you have built a building from scratch on a piece of land that still has grass. However, it is still possible to integrate this framework
The admin interface is Django's killer application. It reads the metadata in your mode and provides you with a powerful and usable interface. website administrators can use it to immediately add content to the website.
To use admin, follow these
Five steps teach you how to deploy the Django program using nginx + uwsgi + Django (below) by Django Chinese community
In the previous article "five steps teach you how to use nginx + uwsgi + Django to deploy Django programs (I)", I explained how to
2. Use a separate static file server
3. Disable KeepAlive (if the server does not provide static file services, such as large file downloads)
4. Use
5. Use to load associated table data
6. Filter unnecessary fields for query
7. Use
8. Load the
Django is best suited for so-called Green-field development, a project that starts from scratch, as you build a building from scratch on a piece of uncultivated land that has a grassy field. However, while Django prefers a project from scratch, it
Foreword: With the release of Django1.4 's second candidate, although Python3 is not yet supported, the Django team is already in the planning, according to the official blog, Django1.5 will be experimental support Python3.
Django, as an excellent
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.